package svc

import (
	"github.com/zeromicro/go-zero/core/stores/redis"
	"gorm.io/gorm"
)

func Redis() *redis.Redis {
	return GetServiceContext().Redis
}

func Db() *gorm.DB {
	return GetServiceContext().Db
}
